package cn.kgc.springday03.entity;

import lombok.Data;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/6/13
 * @Description:
 */
@Data
public class Teacher {

    private Integer age;
    private String name;
    private String sex;
    private Double salary;
    public Teacher(){}
    public Teacher(String name,Integer age, Double salary,String sex) {
        this.age = age;
        this.name = name;
        this.salary = salary;
        this.sex = sex;
    }

}
